﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbPartnerContact")]
    public class WlbPartnerContact : BaseObject
    {
        //begin
        public WlbPartnerContact()
        {}
        public WlbPartnerContact(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Name;
        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                SetPropertyValue("Name", ref _Name, value);
            }
        }
        private string _Phone;
        public string Phone
        {
            get
            {
                return _Phone;
            }
            set
            {
                SetPropertyValue("Phone", ref _Phone, value);
            }
        }
        private WlbSellerSubscription _WlbSellerSubscription;
        public WlbSellerSubscription WlbSellerSubscription
        {
            get
            {
                return _WlbSellerSubscription;
            }
            set
            {
                SetPropertyValue("WlbSellerSubscription", ref _WlbSellerSubscription, value);
            }
        }
        //end

    }
}
